package samsung.sds.survey.surveyManagement.dao;

import java.util.Map;

import samsung.sds.survey.surveyManagement.model.SurveyEntity;
import samsung.sds.system.common.baseQuery.BaseMapper;

/**
 *  @author deng1.pan
 *  @createDate 2016-01-08
 *  问卷管理模块的dao
 */
public interface SurveyManagementMapper extends BaseMapper<SurveyEntity> {
    
	/**
     * 停止投票
     */
    public int updateTF_F_SURVEY01(SurveyEntity survey);
    
    /**
     * 定时更新问卷状态
     */
    public void updateTF_F_SURVEY02(String status);
    
    /**
	 * 根据调查ID获取调查问卷信息
	 * @param surveyIdNew
	 * @return
	 */
	public SurveyEntity selectTF_F_SURVEY(String surveyIdNew);

	/**
	 * 根据调查ID获取调查问卷信息
	 * @param survey_Id
	 * @return
	 */
	public int copyQuestion(Map<String, String> map);
    
}